import { put } from "@/utils";

export interface PutUserParams {
  id: number;
  email?: string;
  mobile?: string;
}
const putUser = (params:PutUserParams)=>{
  return put(`/users/${params.id}`,params)
}

export default putUser